﻿namespace AnyOffice.Model
{
    using System;

    public class FlowTypeData
    {
        protected int _autoEdit = 1;
        protected int _autoLen;
        protected object _autoName;
        protected int _autoNum;
        protected object _flowDesc;
        protected bool _flowDoc;
        protected int _flowId = -1;
        protected string _flowName = string.Empty;
        protected int _flowNo = 1;
        protected int _flowSort;
        protected int _flowType = 1;
        protected int _formId;
        protected object _manageUser;
        protected object _queryItem;
        protected object _queryUser;

        public int AutoEdit
        {
            get
            {
                return this._autoEdit;
            }
            set
            {
                this._autoEdit = value;
            }
        }

        public int AutoLen
        {
            get
            {
                return this._autoLen;
            }
            set
            {
                this._autoLen = value;
            }
        }

        public string AutoName
        {
            get
            {
                return (string) this._autoName;
            }
            set
            {
                this._autoName = value;
            }
        }

        public bool AutoNameIsNull
        {
            get
            {
                return (this._autoName == null);
            }
            set
            {
                if (value)
                {
                    this._autoName = null;
                }
            }
        }

        public int AutoNum
        {
            get
            {
                return this._autoNum;
            }
            set
            {
                this._autoNum = value;
            }
        }

        public string FlowDesc
        {
            get
            {
                return (string) this._flowDesc;
            }
            set
            {
                this._flowDesc = value;
            }
        }

        public bool FlowDescIsNull
        {
            get
            {
                return (this._flowDesc == null);
            }
            set
            {
                if (value)
                {
                    this._flowDesc = null;
                }
            }
        }

        public bool FlowDoc
        {
            get
            {
                return this._flowDoc;
            }
            set
            {
                this._flowDoc = value;
            }
        }

        public int FlowId
        {
            get
            {
                return this._flowId;
            }
            set
            {
                this._flowId = value;
            }
        }

        public string FlowName
        {
            get
            {
                return this._flowName;
            }
            set
            {
                this._flowName = value;
            }
        }

        public int FlowNo
        {
            get
            {
                return this._flowNo;
            }
            set
            {
                this._flowNo = value;
            }
        }

        public int FlowSort
        {
            get
            {
                return this._flowSort;
            }
            set
            {
                this._flowSort = value;
            }
        }

        public int FlowType
        {
            get
            {
                return this._flowType;
            }
            set
            {
                this._flowType = value;
            }
        }

        public int FormId
        {
            get
            {
                return this._formId;
            }
            set
            {
                this._formId = value;
            }
        }

        public string ManageUser
        {
            get
            {
                return (string) this._manageUser;
            }
            set
            {
                this._manageUser = value;
            }
        }

        public bool ManageUserIsNull
        {
            get
            {
                return (this._manageUser == null);
            }
            set
            {
                if (value)
                {
                    this._manageUser = null;
                }
            }
        }

        public string QueryItem
        {
            get
            {
                return (string) this._queryItem;
            }
            set
            {
                this._queryItem = value;
            }
        }

        public bool QueryItemIsNull
        {
            get
            {
                return (this._queryItem == null);
            }
            set
            {
                if (value)
                {
                    this._queryItem = null;
                }
            }
        }

        public string QueryUser
        {
            get
            {
                return (string) this._queryUser;
            }
            set
            {
                this._queryUser = value;
            }
        }

        public bool QueryUserIsNull
        {
            get
            {
                return (this._queryUser == null);
            }
            set
            {
                if (value)
                {
                    this._queryUser = null;
                }
            }
        }
    }
}

